import { ComponentInternalInstance, getCurrentInstance } from 'vue'

export default function useGetGlobalProperties() {
  const { appContext } = getCurrentInstance() as ComponentInternalInstance
  const globalProperties = appContext.config.globalProperties
  return { ...globalProperties }
}
